package com.yx.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yx.sys.entity.Adminmes;
import com.yx.sys.mapper.AdminmesMapper;
import com.yx.sys.service.IAdminmesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminmesServiceImpl extends ServiceImpl<AdminmesMapper, Adminmes> implements IAdminmesService {
    @Autowired(required = false)
    private AdminmesMapper adminmesMapper;

    @Override
    public List<?> getAdminMesByuId(Integer uId) {
        List<?> list = adminmesMapper.getMesListByuId(uId);
        return list;
    }
}
